package org.example.stream.demo;

import org.example.stream.demo.entity.User;

import java.util.List;
import java.util.stream.Collectors;

public class PeekMain {
    public static void main(String[] args) {
        List<User> list = UserBuilder.bindings();

        list.stream()
                .peek(System.out::println)
                .collect(Collectors.toList());
    }
}
